package com.ruoyi.quality.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.constant.TransConstant;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;



/**
 * 分级得分视图对象 quality_classification_data
 *
 * @author ruoyi
 * @date 2023-12-06
 */
@Data
@ExcelIgnoreUnannotated
public class QualityClassificationDataVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 项目id
     */
    @ExcelProperty(value = "项目id")
    private Long itemsId;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    @Translation(type = TransConstant.ITEMS_ID_TO_NAME,mapper = "itemsId")
    private String itemName;

    /**
     * 父级id
     */
    @ExcelProperty(value = "父级id")
    private Long parentId;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    @Translation(type = TransConstant.ITEMS_ID_TO_NAME,mapper = "parentId")
    private String parentName;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 得分
     */
    @ExcelProperty(value = "得分")
    private BigDecimal grade;

    /**
     * 年度
     */
    @ExcelProperty(value = "年度")
    private String date;

}
